/*************************************************
******** R5 Module: Device Control Block  ********
********           Jihad Boustany         ********
*************************************************/
//#define MAX_DCB_NAME 8 

typedef struct 
{
	double address;
	double size;
} buffer;

typedef struct DCB
{
//	char dcb_name[MAX_DCB_NAME]; //name
	char* state; //Allocation Status of the DCB
	int curop; //Current Operation (read,write,etc...)
	int flag; //Event flag
	buffer* user; //User's buffer description
	buffer* proc; //internal buffer description
}mpx_dcb;

/*	DCB functions
mpx_dcb* new_dcb(char* state, int curop, int flag, buffer* user, buffer* proc);

*/